/**
 * Created by liubin on 2014/8/31.
 */
define(['angular', 'services'], function (angular, services) {
    'use strict';
    services.factory('loginService', ['$resource', function ($resource) {
        return $resource(urlRoute.getUrl('login_post'), {}, {
            login: {method: 'post'}
        });
    }]);
});